import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    // 一个商家正在售卖的商品基本信息
    sellingGoodsList: []
  },
  getters: {
  },
  mutations: {
    setSellingGoodsList(state, goodsList) {
      state.sellingGoodsList = goodsList
    }
  },
  actions: {
  },
  modules: {
  }
})
